<template>
	<view class="comp_backTop" @click="action">
	</view>
</template>

<script>
	export default {
		name:"back-top",
		data() {
			return {
				
			};
		},
		methods: {
			action() {
				this.$emit('click')
			}
		}
	}
</script>

<style lang="scss">
.comp_backTop {
	position: fixed;
	width: 100upx;
	height: 100upx;
	bottom: 230upx;
	right: 30upx;
	z-index: 9;
	background: url($uni-url+'/shop/live/icon_wechat_backToTop.png') 50% 50% / contain no-repeat;
}
</style>